package com.hmall.mapper;

import com.hmall.model.MallOrderFufillmentParent;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface MallOrderFufillmentParentMapper extends MyMapper<MallOrderFufillmentParent> {
    List<MallOrderFufillmentParent> selectByOrderNo(@Param("orderNo") Long orderNo);

    void updateRemark(@Param("orderFufillmentNo") String orderFufillmentNo);

    MallOrderFufillmentParent selectByOrderFufillmentNo(@Param("orderFufillmentNo") String orderFufillmentNo);


    void updateIFReceived(@Param("orderFufillmentNo") String orderFufillmentNo, @Param("isReceived") Integer isReceived);

    void updateIFRemark(@Param("orderFufillmentNo") String orderFufillmentNo, @Param("remark") String remark);

    Integer selectCountByOrderNoCheckRecieve(@Param("orderNo") Long orderNo, @Param("status") int i);
}